<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>小红书 - 管理员申请待审核</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        .container {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 30px;
            background-color: #fff;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .header h2 {
            color: #007bff;
            margin: 0;
        }
        .content {
            margin: 20px 0;
        }
        .applicant-info {
            background-color: #f8f9fa;
            border-radius: 6px;
            padding: 20px;
            margin: 20px 0;
        }
        .applicant-info h3 {
            margin-top: 0;
            color: #495057;
        }
        .info-item {
            margin: 10px 0;
            padding: 5px 0;
        }
        .info-label {
            font-weight: bold;
            color: #495057;
            display: inline-block;
            width: 100px;
        }
        .bio-section {
            background-color: #e3f2fd;
            border-left: 4px solid #2196f3;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        .bio-section h4 {
            margin: 0 0 10px 0;
            color: #1976d2;
        }
        .bio-content {
            color: #555;
            font-style: italic;
        }
        .note {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        .footer {
            font-size: 12px;
            color: #999;
            text-align: center;
            margin-top: 30px;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }
        .user-id-highlight {
            background-color: #fff;
            border: 2px solid #007bff;
            padding: 10px;
            border-radius: 6px;
            font-size: 18px;
            font-weight: bold;
            color: #007bff;
            text-align: center;
            margin: 15px 0;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="header">
        <h2>👥 小红书 - 管理员申请</h2>
    </div>

    <div class="content">
        <p>尊敬的超级管理员，</p>

        <p>有新的管理员申请需要您的审核：</p>

        <div class="applicant-info">
            <h3>📋 申请人信息</h3>
            <div class="info-item">
                <span class="info-label">用户名：</span>
                <span th:text="${applicantUsername}">testuser</span>
            </div>
            <div class="info-item">
                <span class="info-label">邮箱：</span>
                <span th:text="${applicantEmail}">test@example.com</span>
            </div>
            <div class="info-item">
                <span class="info-label">用户ID：</span>
                <div class="user-id-highlight">
                    <span th:text="${userId}">12345</span>
                </div>
            </div>
        </div>

        <div class="bio-section" th:if="${applicantBio != null and !#strings.isEmpty(applicantBio)}">
            <h4>📝 个人简介</h4>
            <div class="bio-content" th:text="${applicantBio}">
                这里是申请人的个人简介内容...
            </div>
        </div>

        <div class="note">
            <strong>📋 审核说明：</strong><br/>
            请登录管理系统，使用上述用户ID进行审核操作。您可以选择通过或拒绝该管理员申请。
        </div>

        <p>谢谢，<br />小红书系统</p>
    </div>

    <div class="footer">
        <p>此邮件由系统自动发送，请勿回复。如有疑问请联系系统管理员。</p>
    </div>
</div>
</body>
</html>